<{include file ="header.tpl"}>
<{include file ="navibar.tpl"}>
<{include file ="sidebar.tpl"}>
<{* TPLSTART 以上内容不需更改，保证该 TPL 页内的标签匹配即可 *}>
<div class="block">
    <a href="#page-stats" class="block-heading" data-toggle="collapse">图表</a>
    <div id="page-stats" class="block-body collapse in">
        <table class="table table-striped">
            <thead>
            <tr>
                <th>#</th>
                <th>游戏ID</th>
                <th>游戏名称</th>
                <th>游戏链接</th>
                <th>访问量</th>
                <th>开玩量</th>
                <th>创建日期</th>
            </tr>
            </thead>
            <tbody>
            <{foreach name=game from=$games item=game}>
                <tr>
                    <td><{$game.id}></td>
                    <td><{$game.name}></td>
                    <td><{$game.display_name}></td>
                    <td>http://admin.yesgame.club/wxgame/getgame.php?gid=<{$game.name}></td>
                    <td><{$game.visited_count}></td>
                    <td><{$game.played_count}></td>
                    <td><{$game.create_time}></td>
                </tr>
                <{/foreach}>
            </tbody>
        </table>
    </div>
</div>
<{* TPLEND 以下内容不需更改，请保证该 TPL 页内的标签匹配即可 *}>
<{include file="footer.tpl" }>
